import request from '@/utils/request'

export function listNews() {
  return request({
    url: '/news'
  })
}

export function getNewsContent(newsId) {
  return request({
    url: '/news/' + newsId + "/content",
    method: 'get'
  })
}
